package game.model.request;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author 米泽鹏
 * @since 2022-3-5 下午 12:26
 */
@Data
public class SaveCreatureRequest {

	private Long id;

	@NotNull(message = "类别id不能为空")
	private Long classificationId;

	private Integer sort;

	@NotBlank(message = "生物名称不能为空")
	private String creatureName;

	@NotBlank(message = "生物描述不能为空")
	private String description;

	@NotNull(message = "耐久度不能为空")
	private Integer durability;

	private List<Integer> damage;

	private String image;

}
